<div data-role="page">

  <div data-role="header" data-position="inline">
    <%= link_to "Back", :action => :index %>
    <h1>New QADetail</h1>
  </div>

  <div data-role="content">
    <form method="POST" action="<%= url_for :action => :create %>">
      <input type="hidden" name="id" value="<%= @qadetail.object %>"/>
      <table>
          
            <tr>
                <td class="itemLabel">To: </td>
                <td class="itemValue"><input type="text" name="qadetail[to]"/></td>
            </tr>
          
            <tr>
                <td class="itemLabel">User: </td>
                <td class="itemValue"><input type="text" name="qadetail[user_id]"/></td>
            </tr>
          
            <tr>
                <td class="itemLabel">Content: </td>
                <td class="itemValue"><input type="text" name="qadetail[content]"/></td>
            </tr>
          
            <tr>
                <td class="itemLabel">Created at: </td>
                <td class="itemValue"><input type="text" name="qadetail[created_at]"/></td>
            </tr>
          
            <tr>
                <td class="itemLabel">Status: </td>
                <td class="itemValue"><input type="text" name="qadetail[status]"/></td>
            </tr>
          
            <tr>
                <td class="itemLabel">Question: </td>
                <td class="itemValue"><input type="text" name="qadetail[question_id]"/></td>
            </tr>
          
      </table>
      <input type="submit" value="Create"/>
    </form>
  </div>

</div>
